<?php

	if( ! isset($header)) $header =array('title'=>'D-app');
$this->load->view("{$template}/header",$header);
?>
<div id='right-colum' style='min-height:300px;'>
<div id='page'>
    <div id='header'>
			<span class='typeface-js font-23' style='font-size:50px;'>
			รายการแจ้งซ่อม
			</span>
    </div>
<div id='top-box-profile'>
<table width='100%'><tr>
				<td width='50%'>&nbsp;</td>
				<td width='50%' align='right'>
				<?php if(isset($customer_profile[0]->CS_NAME)) { ?>	<span id='box-profile' class='typeface-js font-22'><?php echo($customer_profile[0]->CS_NAME . " ".$customer_profile[0]->CS_SURNAME); ?></span>	 <?php } ?>
				</td>
				</tr>
</table>
<ul>
		<li class='f-left' style='width:20%'>
					<ul class='left-box-member-menu'>
							<li class='top-menu typeface-js font-22' ><i class='home'></i>เมนูหลัก</li>
							<li>			<a href='<?php echo $BASE_URL;?>member'>รายการแจ้งซ่อม</a></li>
							<li><a href='<?php echo $BASE_URL; ?>logout'>ออกจากระบบ</a></li>
					</ul>
		</li>
		<li class='f-left' style='width:80%'>
										<?php echo $content; ?>
		</li>
		<li class='clr'></li>
</ul>
		
											
</div>
<?php
#print_r($customer_profile);
?>
   <div style='clear:both;'></div>
</div>
<p style="color:#ccc; font-size:11px; text-align:center;">
Page rendered in <strong>{elapsed_time}</strong> seconds
	</p>



</div>
<?php 
$this->load->view("{$template}/footer");
 ?>